package jp.sourceforge.akjrcp.text_douga.rcp;



import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public static final String ID=Perspective.class.getName();
	public void createInitialLayout(IPageLayout layout) {
		//TODO make editor
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		
		layout.addStandaloneView(TextDougaView.ID,  false, IPageLayout.LEFT, 1.0f, editorArea);
		
	}
}
